from dbfpy import dbf
from zipfile import ZipFile
import os,os.path
import csv
import sys, glob

if __name__ == '__main__':
	workingDir = sys.argv[1]
	pattern = sys.argv[2]
	#zipFiles = [item for arg in sys.argv for item in glob.glob(arg)]
	files = [item for item in glob.glob(workingDir+'/'+pattern)]
	#ghFiles = zipFiles[1:]
	#print ghFiles
	fileList = ','.join(files)
	
	sys.stdout.write(fileList)
